﻿namespace ECP.Utilities.Controls
{
    public class ECPTextEdit : DevExpress.XtraEditors.TextEdit
    {
        public int MaxLength
        {
            get
            { 
                return this.Properties.MaxLength;
            }
            set
            {
                this.Properties.MaxLength = value;
            }
        }
        public char PasswordChar {
            get 
            {
                return this.Properties.PasswordChar;
            }
            set 
            {
                this.Properties.PasswordChar = value;
            }
        }
        public void Clear()
        {
            this.Text = "";
        }

        public bool Multiline { get; set; }

        public System.Windows.Forms.ScrollBars ScrollBars { get; set; }
    }
}